const { contextBridge, ipcRenderer } = require('electron')

contextBridge.exposeInMainWorld('Index_API', {
    opneTicketGrabbing: () => ipcRenderer.send('openTicketGrabbing'),
    openAutomaticallyGenerateQRcode: () => ipcRenderer.send('openAutomaticallyGenerateQRcode'),
    openAutomaticallyGenerateRouteID: () => ipcRenderer.send('openAutomaticallyGenerateRouteID'),

})